package com.welkom.everydate.services.interfaces;

import java.util.List;

import com.welkom.everydate.domain.Resource;

public interface ResourceService {
	public List<Resource> getResourcesByAuthorityName(String authorityName);
	public List<Resource> getResourcesByAuthorityId(long authorityId);
	public void saveChangesToResource(Resource resource);
	public void removeResource(long resourceId);
	public void addResource(Resource resource);
	public List<Resource> getAllResources();
	public void removeAuthorityResourceRelationsByAuthorityId(long authorityId);
	public void addAuthorityResourceRelations(List<Resource> resources,long authorityId);
	public List<com.welkom.everydate.domain.Resource> getResourcesByAuthorityIds(List<Long> authorityIds);
}
